<form id="import-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="" enctype="multipart/form-data">
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('选择文件')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-file" data-rule="required" class="form-control" name="file" type="file" accept=".xlsx,.xls">
            <span class="help-block">支持Excel格式文件(.xlsx, .xls)</span>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('模板下载')}:</label>
        <div class="col-xs-12 col-sm-8">
            <a href="{:url('downloadTemplate')}" class="btn btn-info btn-sm">
                <i class="fa fa-download"></i> 下载导入模板
            </a>
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('Import')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
